package io.renren.modules.jxgk.dao;

import io.renren.common.utils.Query;
import io.renren.modules.jxgk.entity.ClassDiaryEntity;
import io.renren.modules.jxgk.entity.ClassDiaryTeacherSum;
import io.renren.modules.jxgk.entity.TeacherDiary;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface ClassDiaryTableDao extends BaseDao<ClassDiaryEntity>{
    List<ClassDiaryTeacherSum> queryClassDiaryTeacherSumList(Map<String, Object> map);
    int queryClassDiaryTeacherSumTotal(Map<String, Object> map);

    List<TeacherDiary> getClassDiaryTableByTeacherAndClassCourse(Map<String, Object> map);

    int getClassDiaryTotalByTeacherAndClassCourse(Map<String, Object> map);

    List<ClassDiaryEntity> queryChidaoZaotuiList(Map<String, Object> map);

    int queryChidaoZaotuiTotal(Map<String, Object> map);

    List<ClassDiaryEntity> queryListChiDaoZaotui(Map<String, Object> params);

    List<ClassDiaryEntity> queryListTimeTable(Map<String, Object> params);

    List<ClassDiaryEntity> queryListTimeTableOfOurStudent(Map<String, Object> params);

    List<ClassDiaryEntity> queryListChiDaoZaotuiOfOurStudent(Map<String, Object> params);
}
